<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.11"/>
<title>RKNPU DDK: OutputInfo Struct Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { init_search(); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">RKNPU DDK
   &#160;<span id="projectnumber">1.3.0</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.11 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
      <li class="current"><a href="annotated.html"><span>Data&#160;Structures</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Data&#160;Structures</span></a></li>
      <li><a href="classes.html"><span>Data&#160;Structure&#160;Index</span></a></li>
      <li><a href="functions.html"><span>Data&#160;Fields</span></a></li>
    </ul>
  </div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="namespacerk.html">rk</a></li><li class="navelem"><a class="el" href="namespacerk_1_1nn.html">nn</a></li><li class="navelem"><a class="el" href="structrk_1_1nn_1_1_output_info.html">OutputInfo</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-attribs">Data Fields</a>  </div>
  <div class="headertitle">
<div class="title">OutputInfo Struct Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p><code>#include &lt;<a class="el" href="exection_8h_source.html">exection.h</a>&gt;</code></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-attribs"></a>
Data Fields</h2></td></tr>
<tr class="memitem:aafd95f8c7a99b9189ede7cdf0871ebe8"><td class="memItemLeft" align="right" valign="top">uint32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structrk_1_1nn_1_1_output_info.html#aafd95f8c7a99b9189ede7cdf0871ebe8">index</a></td></tr>
<tr class="memdesc:aafd95f8c7a99b9189ede7cdf0871ebe8"><td class="mdescLeft">&#160;</td><td class="mdescRight">the output index, filled by user  <a href="#aafd95f8c7a99b9189ede7cdf0871ebe8">More...</a><br /></td></tr>
<tr class="separator:aafd95f8c7a99b9189ede7cdf0871ebe8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5bc5fa69bee375df074734a2c4858604"><td class="memItemLeft" align="right" valign="top">void *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structrk_1_1nn_1_1_output_info.html#a5bc5fa69bee375df074734a2c4858604">buf</a></td></tr>
<tr class="memdesc:a5bc5fa69bee375df074734a2c4858604"><td class="mdescLeft">&#160;</td><td class="mdescRight">output buffer, users should manage this buffer by themselves, including allocation and release.  <a href="#a5bc5fa69bee375df074734a2c4858604">More...</a><br /></td></tr>
<tr class="separator:a5bc5fa69bee375df074734a2c4858604"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab2c6b258f02add8fdf4cfc7c371dd772"><td class="memItemLeft" align="right" valign="top">uint32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structrk_1_1nn_1_1_output_info.html#ab2c6b258f02add8fdf4cfc7c371dd772">size</a></td></tr>
<tr class="memdesc:ab2c6b258f02add8fdf4cfc7c371dd772"><td class="mdescLeft">&#160;</td><td class="mdescRight">the size of output buffer, filled by user  <a href="#ab2c6b258f02add8fdf4cfc7c371dd772">More...</a><br /></td></tr>
<tr class="separator:ab2c6b258f02add8fdf4cfc7c371dd772"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8481bea28d86256005cd19236e1a7f89"><td class="memItemLeft" align="right" valign="top"><a class="el" href="namespacerk_1_1nn.html#a13c421245f43fd2d7edd0e94c537965d">PrecisionType</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structrk_1_1nn_1_1_output_info.html#a8481bea28d86256005cd19236e1a7f89">type</a></td></tr>
<tr class="memdesc:a8481bea28d86256005cd19236e1a7f89"><td class="mdescLeft">&#160;</td><td class="mdescRight">precision type of output data, filled by DDK  <a href="#a8481bea28d86256005cd19236e1a7f89">More...</a><br /></td></tr>
<tr class="separator:a8481bea28d86256005cd19236e1a7f89"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3e351601ce2a4a65f7944e445f3a32af"><td class="memItemLeft" align="right" valign="top"><a class="el" href="namespacerk_1_1nn.html#a208f6d2ebb490c7877041482cf7da65c">DataLayoutType</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structrk_1_1nn_1_1_output_info.html#a3e351601ce2a4a65f7944e445f3a32af">layout</a></td></tr>
<tr class="memdesc:a3e351601ce2a4a65f7944e445f3a32af"><td class="mdescLeft">&#160;</td><td class="mdescRight">Layout of output data, filled by DDK.  <a href="#a3e351601ce2a4a65f7944e445f3a32af">More...</a><br /></td></tr>
<tr class="separator:a3e351601ce2a4a65f7944e445f3a32af"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac31c4d0b12aad471eddc362dae56eded"><td class="memItemLeft" align="right" valign="top">uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structrk_1_1nn_1_1_output_info.html#ac31c4d0b12aad471eddc362dae56eded">want_float</a></td></tr>
<tr class="separator:ac31c4d0b12aad471eddc362dae56eded"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>Output info used by exector-&gt;GetOutputs(outputs) </p>

<p>Definition at line <a class="el" href="exection_8h_source.html#l00051">51</a> of file <a class="el" href="exection_8h_source.html">exection.h</a>.</p>
</div><h2 class="groupheader">Field Documentation</h2>
<a class="anchor" id="a5bc5fa69bee375df074734a2c4858604"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void* buf</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>output buffer, users should manage this buffer by themselves, including allocation and release. </p>

<p>Definition at line <a class="el" href="exection_8h_source.html#l00055">55</a> of file <a class="el" href="exection_8h_source.html">exection.h</a>.</p>

</div>
</div>
<a class="anchor" id="aafd95f8c7a99b9189ede7cdf0871ebe8"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">uint32_t index</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>the output index, filled by user </p>

<p>Definition at line <a class="el" href="exection_8h_source.html#l00053">53</a> of file <a class="el" href="exection_8h_source.html">exection.h</a>.</p>

</div>
</div>
<a class="anchor" id="a3e351601ce2a4a65f7944e445f3a32af"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="namespacerk_1_1nn.html#a208f6d2ebb490c7877041482cf7da65c">DataLayoutType</a> layout</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Layout of output data, filled by DDK. </p>

<p>Definition at line <a class="el" href="exection_8h_source.html#l00061">61</a> of file <a class="el" href="exection_8h_source.html">exection.h</a>.</p>

</div>
</div>
<a class="anchor" id="ab2c6b258f02add8fdf4cfc7c371dd772"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">uint32_t size</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>the size of output buffer, filled by user </p>

<p>Definition at line <a class="el" href="exection_8h_source.html#l00057">57</a> of file <a class="el" href="exection_8h_source.html">exection.h</a>.</p>

</div>
</div>
<a class="anchor" id="a8481bea28d86256005cd19236e1a7f89"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="namespacerk_1_1nn.html#a13c421245f43fd2d7edd0e94c537965d">PrecisionType</a> type</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>precision type of output data, filled by DDK </p>

<p>Definition at line <a class="el" href="exection_8h_source.html#l00059">59</a> of file <a class="el" href="exection_8h_source.html">exection.h</a>.</p>

</div>
</div>
<a class="anchor" id="ac31c4d0b12aad471eddc362dae56eded"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">uint8_t want_float</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Does NPU need to convert the output data to float When using a non quantitative model, want_float should be set to true or the data you get is in float16 format. When using a quantitative model, you need to set the value of want_float according to the actual situation. </p>

<p>Definition at line <a class="el" href="exection_8h_source.html#l00067">67</a> of file <a class="el" href="exection_8h_source.html">exection.h</a>.</p>

</div>
</div>
<hr/>The documentation for this struct was generated from the following file:<ul>
<li><a class="el" href="exection_8h_source.html">exection.h</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.11
</small></address>
</body>
</html>
